package com.sh.weblogspringboot.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author songHai
 * @Classname ReadArticleEvent
 * @Description 文章被阅读事件
 * @Date 2025/4/13 11:52
 */
@Getter
public class ReadArticleEvent extends ApplicationEvent {

    /**
     * 文章ID.
     */
    private Long articleId;


    public ReadArticleEvent(Object source, Long articleId) {
        super(source);

        this.articleId = articleId;
    }
}
